home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _48F52390B08D4786995ED5330DE9400B < prev    next >
Encoding:
Text File  |  2004-02-09  |  873 b   |  39 lines

  1. light("spot_spotmap")
  2. {
  3.     pass()
  4.     {
  5.         Pixelshader("SpotRoadSnow.psh")
  6.         tmu()
  7.         {
  8.             texgen("spotlight")
  9.             texture()
  10.             {
  11.                 spotmap()
  12.                 addressfunc("clamp", "clamp", "clamp")
  13.                 filtering("linear_no_mip")  //FIXIT
  14.             }
  15.         }
  16.  
  17.         tmu()
  18.         {
  19.             texgen("spotlight_z_att")
  20.             texture()
  21.             {
  22.                 image("spot_z.png")
  23.                 addressfunc("clamp", "clamp", "clamp")
  24.                 filtering("linear_no_mip")
  25.             }
  26.         }
  27.         !include("__TerrainDetail1.mtt")
  28.         !include("__Tex1.mtt")
  29.         tfactor(1,1,1,0)
  30.         colorgen("tfactor", "user", 0,0,0, "none", 0,0,0)
  31.  
  32.         blendfunc("one", "one")
  33.         depthfunc("lequal", 0)
  34.  
  35.         blackfog()
  36.     }
  37. }
  38.  
  39.